package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingPlanDto;
import com.zzyl.vo.NursingPlanVo;
import com.zzyl.dto.NursingPlanDto;
import com.zzyl.vo.NursingPageVo;
import com.zzyl.vo.NursingPlanVo;

import java.util.List;


/**
 * @Description NursingPlanService
 * @Author wangwei
 * @Date 2024-08-23
 */
public interface NursingPlanService {

    /**
     * 新增护理计划
     */
    void addNursingPlan(NursingPlanDto nursingPlanDto);

    /**
     * 分页查询护理计划
     */
    PageResponse<NursingPlanVo> getPage(String name, Integer pageNum, Integer pageSize, Integer status);

    /**
     * 查询所有的护理计划
     * @return
     */
    List<NursingPlanVo> getAllNursingPlan();

    /**
     * 根据ID回显信息
     * @param id
     * @return
     */
    NursingPlanVo getInfoByID(Integer id);

    /**
     * 编辑护理计划信息
     * @param nursingPlanDto
     * @return
     */
    void updatePlanInfo(NursingPlanDto nursingPlanDto);

    /**
     * 根据id删除护理计划
     * @param id
     * @return
     */
    void deletePlanById(Integer id);
    /**
     * 根据ID更改计划状态
     * @param id
     * @param status
     * @return
     */
    void updateStatus(Integer id, Integer status);
}
